import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import { logRocket, env } from './utils';

if (env.isProduction) {
  logRocket.initLogRocket();
}

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
);
